package com.sample.Tetris;

import android.app.Activity;
import android.os.Bundle;
import android.widget.LinearLayout;

public class TetrisActivity extends Activity {
    //TetrisView tv;
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
        //tv= (TetrisView) findViewById(R.id.tetrisView1);
        LinearLayout layout=(LinearLayout)findViewById(R.id.layout1);
        TetrisView tv= new TetrisView(this);
        layout.addView(tv);
    }
}